//
//  FLService.h
//  FruitsWholesaler
//
//  Created by sgone-2 on 16/4/21.
//  Copyright © 2016年 sgone. All rights reserved.
//

#import "FLBaseHttpsRequest.h"
#import "DataSingleton.h"

typedef void (^GetShareListSuccessBlock2)(NSString *resultArray2);



typedef void (^GetShareListSuccessBlock)(NSArray *resultArray);
typedef void (^GetShareListErrorBlock)(NSString *errorInfo);

typedef void (^GetShareDetailsSuccessBlock)(NSArray *resultArray);
typedef void (^GetShareDetailsErrorBlock)(NSString *errorInfo);

typedef void (^SetShareMessageSuccessBlock)(NSString *resultStr);
typedef void (^SetShareMessageErrorBlock)(NSString *errorInfo);



@interface FLService : FLBaseHttpsRequest

- (void)getShareListByCur_page:(NSString *)cur_page cur_size:(NSString *)cur_size success:(GetShareListSuccessBlock)successBlock error:(GetShareListErrorBlock)errorBlock;

- (void)getShareDetailsByCur_page:(NSString *)cur_page cur_size:(NSString *)cur_size id:(NSString *)share_id success:(GetShareDetailsSuccessBlock)successBlock error:(GetShareDetailsErrorBlock)errorBlock;

- (void)SetShareMessageByBody:(NSString *)body imglist:(NSString *)imglist lat:(NSString *)lat lng:(NSString *)lng user_type:(NSString *)user_type success:(SetShareMessageSuccessBlock)successBlock error:(SetShareMessageErrorBlock)errorBlock;



@end
